package org.dromara.nursing.domain.bo;

import org.dromara.nursing.domain.MsEntertainment;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 娱乐活动业务对象 ms_entertainment
 *
 * @author Lion Li
 * @date 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MsEntertainment.class, reverseConvertGenerate = false)
public class MsEntertainmentBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 活动名称
     */
    @NotBlank(message = "活动名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 活动类型
     */
    private String type;

    /**
     * 活动内容
     */
    private String content;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 活动地点
     */
    private String location;

    /**
     * 最大人数
     */
    private Long maxNum;

    /**
     * 当前人数
     */
    private Long currentNum;

    /**
     * 所需物资
     */
    private String materials;

    /**
     * 活动反馈
     */
    private String feedback;

    /**
     * 满意度评分
     */
    private Long score;

    /**
     * 备注
     */
    private String remarks;


}
